package top.dingwen.io.treasure.es.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.dromara.easyes.annotation.IndexName;

/**
 * 测试文档
 *
 * @author dingwen
 * @since 2024/12/16 17:58
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@IndexName
public class Document {
    /**
     * es中的唯一id
     */
    private String id;
    /**
     * 文档标题
     */
    private String title;
    /**
     * 文档内容
     */
    private String content;
}
